import { NestFactory } from '@nestjs/core';
import { MsgHandleModule } from './msg-handle.module';

async function bootstrap() {

  await NestFactory.createApplicationContext(MsgHandleModule);
    console.log(`------------ ${process.env.APP_NAME} start---------------`)
    const date = new Date()
    console.log(date.toLocaleDateString() + ' ' + date.toLocaleTimeString())
}
bootstrap();
